# $Id$
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
# Contributor: Arjan timmerman <arjan@soulfly.nl>
# Contributor: Link Dupont <link@subpop.net>

pkgname=pyrex
pkgver=0.9.9
pkgrel=4
pkgdesc="Language for writing Python extension modules"
arch=(any)
url="http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/"
license=('APACHE')
depends=('python2')
source=(http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/Pyrex-${pkgver}.tar.gz)
md5sums=('515dee67d15d4393841e2d60e8341947')

build( ) {
  cd "${srcdir}/Pyrex-${pkgver}"
  python2 setup.py build
}

package() {
  cd "${srcdir}/Pyrex-${pkgver}"
  python2 setup.py install -O1 --root="${pkgdir}" --prefix=/usr
}
